package com.my_library_one.http;

/**
 * 如果参数少于3个就直接传入value，如果多于3个就直接出入map
 */
public class HttpMethod {
    //
    private static final String ROOT_URL = "http://qingchunguoxue.apptiming.com/index.php?s=Home/";

    /**
     * 1.1 注册
     */
    public static final String LOGIN_REGISTER = ROOT_URL + "Login/register";
    public static final int HTTP_LOGIN_REGISTER = 100011;

//    public static void loginRegister(Context mContext, AnsynHttpRequest.ObserverCallBack callback, String mobile, String code, String password, String integral) {
//        HashMap<String, String> params = new HashMap<>();
//        params.put("mobile", mobile);
//        params.put("code", code);
//        params.put("password", password);
//
//        AnsynHttpRequest.requestGetOrPost(mContext, AnsynHttpRequest.POST, LOGIN_REGISTER, params, callback, HTTP_LOGIN_REGISTER);
//    }

}
